import 'package:fluro/fluro.dart';
import 'package:flutter_business_2003a/router/detail_handler.dart';

class Routers {
  static String root = '/'; //根目录
  static String detailPage = '/detail'; //详情目录
  static void configureRoutes(FluroRouter router) {
    router.notFoundHandler = Handler(handlerFunc: (context, parameters) {
      print('ERROR========================>当前Router没找到');
      return null;
    });
    router.define(detailPage, handler: detailHandler);
  }
}
